﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using V5_EShop._Class.Data;

public class V5 {
    /// <summary>
    /// 网站配置
    /// </summary>
    public static V5ConfigHelper Config { get { return new V5ConfigHelper(); } }
    /// <summary>
    /// 文章操作
    /// </summary>
    public static V5ArticleHelper Article { get { return V5ArticleHelper.Instance; } }
    /// <summary>
    /// 产品操作
    /// </summary>
    public static V5ProductHelper Product { get { return new V5ProductHelper(); } }
    /// <summary>
    /// 公告操作
    /// </summary>
    public static V5AnnounceHelper Announce { get { return new V5AnnounceHelper(); } }
    public static V5LoadHelper Load { get { return new V5LoadHelper(); } }
    /// <summary>
    /// 用户操作
    /// </summary>
    public static V5UserHelper User { get { return new V5UserHelper(); } }
    /// <summary>
    /// Html
    /// </summary>
    public static V5HtmlHelper Html { get { return new V5HtmlHelper(); } }
    /// <summary>
    /// 工具类
    /// </summary>
    public static V5ToolHelper Tool { get { return V5ToolHelper.Instance; } }
    /// <summary>
    /// SQL查询
    /// </summary>
    public static V5SQLHelper SQL { get { return V5SQLHelper.Instance; } }
    /// <summary>
    /// 生成Url地址
    /// </summary>
    public static V5UrlHelper Url { get { return V5UrlHelper.Instance; } }
    private static Dictionary<string, object> _ViewData = new Dictionary<string, object>();
    /// <summary>
    /// 网页数据字典
    /// </summary>
    public static Dictionary<string, object> ViewData {
        get { return V5._ViewData; }
        set { V5._ViewData = value; }
    }

    #region
    /// <summary>
    /// GZProduct
    /// </summary>
    public static V5GZProductHelper GZProduct { get { return V5GZProductHelper.Instance; } }
    #endregion

}